]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
cleanup: Remove another pair of unneeded parentheses
authorFlorian Müllner <fmuellner@gnome.org>
Sat, 16 Nov 2019 16:14:38 +0000 (17:14 +0100)
committerFlorian Müllner <fmuellner@gnome.org>
Sat, 23 Nov 2019 00:29:20 +0000 (01:29 +0100)
Eslint didn't spot this before version 6.5, so this fell through
the cracks.

js/misc/extensionUtils.js

index 020042c8aeacc2bcdcd5b1f4b55db6bc17777f58..3d01ad787ce0bb049ea4d7012a8946b3a50ba151 100644 (file)
@@ -40,7 +40,7 @@ const SERIALIZED_PROPERTIES = ['type', 'state', 'path', 'error', 'hasPrefs', 'ca
  * an extension.
  */
 function getCurrentExtension() {
-    let stack = (new Error()).stack.split('\n');
+    let stack = new Error().stack.split('\n');
     let extensionStackLine;
 
     // Search for an occurrence of an extension stack frame